﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Notifications.Enum;

namespace Microhard.Notifications.Attrs
{
    /// <summary>
    /// 提醒服务所使用的特性，加入到业务实体上，则可以实现业务处理完毕后的消息回复
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class AttrOfNotiMsgTemplate : Attribute
    {
        public Type Template { set; get; }
        public MsgType MsgType { set; get; }
        public Type GetSpecificUserClass { set; get; }
        public string Command { set; get; }
    }
}
